home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / admin / xinetd.2 / xinetd / xinetd.2.1.7-linux.4 / libs / src / misc / ftwx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-25  |  702 b   |  46 lines

  1. /*
  2.  * (c) Copyright 1992 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7.  
  8. #ifndef __FTWX_H
  9. #define __FTWX_H
  10.  
  11. /*
  12.  * $Id: ftwx.h,v 2.1 1992/10/01 00:41:02 panos Exp $
  13.  */
  14.  
  15. #ifndef __FTWX_NO_FTW
  16. #include <ftw.h>
  17. #else
  18. #define FTW_F   0
  19. #define FTW_D   1
  20. #define FTW_DNR 2
  21. #define FTW_NS  3
  22. #endif
  23.  
  24.  
  25. /*
  26.  * Flags
  27.  */
  28. #define FTWX_ALL        -1
  29. #define FTWX_FOLLOW     0x1
  30.  
  31.  
  32. #ifdef __ARGS
  33. #undef _ARGS
  34. #endif
  35.  
  36. #ifdef PROTOTYPES
  37. #  define __ARGS( s )               s
  38. #else
  39. #  define __ARGS( s )               ()
  40. #endif
  41.  
  42. int ftwx __ARGS( ( char *path, int (*func)(), int depth, int flags ) ) ;
  43.  
  44. #endif     /* __FTWX_H */
  45.  
  46.